@file:Suppress("unused", "SpellCheckingInspection")

object Android {
    const val compileSdkVersion = 30
    const val minSdkVersion = 21
    const val targetSdkVersion = 30

    const val versionName = "1.0"
    const val versionCode = 1
}

object Versions {
    const val kotlin = "1.4.32"

    const val fly = "4.1.9"
    const val loadsir = "2.0.7"
    const val divideritemdecoration = "1.0.1"

    const val material = "1.4.0"
    const val browser = "1.3.0"
    const val viewpager2 = "1.0.0"
    const val recyclerview = "1.2.1"
    const val constraintlayout = "2.1.1"

    const val brvah = "3.0.6"
    const val mmkv = "1.2.10"
    const val smartrefresh = "2.0.3"
    const val leakcanary = "2.7"
    const val immersionbar = "3.0.0"
    const val agentWeb = "v4.1.9-androidx"
    const val jsbridge = "1.0.4"
    const val permission = "12.2"
    const val relinker = "1.4.4"
    const val autoSize = "v1.2.1"

    const val umsdk_common = "9.4.4"
    const val umsdk_asms = "1.4.1"
    const val umsdk_apm = "1.4.2"
    const val umsdk_utdid = "1.5.2.1"
    const val umsdk_share = "7.1.6"
    const val wechat_sdk = "6.7.9"
}

object Deps {
    // androidx
    const val androidx_constraint_layout =
        "androidx.constraintlayout:constraintlayout:${Versions.constraintlayout}"
    const val androidx_viewpager2 = "androidx.viewpager2:viewpager2:${Versions.viewpager2}"
    const val androidx_recyclerview = "androidx.recyclerview:recyclerview:${Versions.recyclerview}"

    // fly 快速集成框架
    const val mvvm_fly = "com.github.tiamosu:X-MVVMFly:${Versions.fly}"

    // loadSir 多状态布局
    const val loadsir = "com.github.tiamosu:LoadSir:${Versions.loadsir}"

    // leakcanary 检测内存泄漏
    const val leakcanary_android =
        "com.squareup.leakcanary:leakcanary-android:${Versions.leakcanary}"

    // recyclerView 分割线
    const val divideritemdecoration =
        "com.github.tiamosu:X-DividerItemDecoration:${Versions.divideritemdecoration}"

    // recyclerView 适配器辅助库
    const val brvah = "com.github.CymChad:BaseRecyclerViewAdapterHelper:${Versions.brvah}"

    // 上下拉刷新框架
    const val smartrefresh = "com.scwang.smart:refresh-layout-kernel:${Versions.smartrefresh}"
    const val refresh_header = "com.scwang.smart:refresh-header-classics:${Versions.smartrefresh}"
    const val refresh_footer = "com.scwang.smart:refresh-footer-classics:${Versions.smartrefresh}"
    const val refresh_header_meterial =
        "com.scwang.smart:refresh-header-material:${Versions.smartrefresh}"

    // 微信开源项目，替代SP
    const val mmkv = "com.tencent:mmkv-static:${Versions.mmkv}"

    // agentweb
    const val agentweb = "com.github.Justson.AgentWeb:agentweb-core:${Versions.agentWeb}"

    // jsbridge
    const val jsbridge = "com.github.lzyzsd:jsbridge:${Versions.jsbridge}"

    // 友盟统计及分享
    const val umsdk_common = "com.umeng.umsdk:common:${Versions.umsdk_common}"
    const val umsdk_asms = "com.umeng.umsdk:asms:${Versions.umsdk_asms}"
    const val umsdk_apm = "com.umeng.umsdk:apm:${Versions.umsdk_apm}"
    const val umsdk_utdid = "com.umeng.umsdk:utdid:${Versions.umsdk_utdid}"
    const val umsdk_share_core = "com.umeng.umsdk:share-core:${Versions.umsdk_share}"
    const val umsdk_share_wx = "com.umeng.umsdk:share-wx:${Versions.umsdk_share}"
    const val umsdk_share_qq = "com.umeng.umsdk:share-qq:${Versions.umsdk_share}"

    //微信官方依赖库、友盟分享需要
    const val wechat_sdk =
        "com.tencent.mm.opensdk:wechat-sdk-android-without-mta:${Versions.wechat_sdk}"

    // immersionbar
    const val immersionbar = "com.gyf.immersionbar:immersionbar:${Versions.immersionbar}"
    const val immersionbar_ktx = "com.gyf.immersionbar:immersionbar-ktx:${Versions.immersionbar}"

    // topon 需添加
    const val browser = "androidx.browser:browser:${Versions.browser}"
    const val material = "com.google.android.material:material:${Versions.material}"

    // permission
    const val permission = "com.github.getActivity:XXPermissions:${Versions.permission}"

    // relinker
    const val relinker = "com.getkeepsafe.relinker:relinker:${Versions.relinker}"

    //屏幕适配
    const val autoSize = "com.github.JessYanCoding:AndroidAutoSize:${Versions.autoSize}"
}